/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sunsite.tools;

/**
 *  存放所有用到的请求参数
 * @author Administrator
 */
public class Naming {

    /**
     * Actions
     */
    public static class ActionName
    {
        public static final String Login = "login";
        public static final String Register = "register";
        public static final String ChangePsw = "changePsw";
        public static final String ChangeNickName = "changeNick";
        public static final String ChangeHead = "changeHead";
        public static final String UploadHead = "uploadHead";
        public static final String Logout = "logout";
        public static final String PostTopic="postTopic";
        public static final String ModifyTopic="modifyTopic";
        public static final String deleteTopic="deleteTopic";
        public static final String PostComment="postTomment";
        public static final String PostMessage="postMsg";
        public static final String DeleteMessage="delMsg";
    }
    
    
    /**
     * Login,Register
     */
    public static class WebParameter
    {
        public static final String Username = "userName";
        public static final String UserId = "userId";
        public static final String Password = "password";
        public static final String NewPassword = "newPsw";
        public static final String PasswordEnsure = "pswConfirm";
        public static final String VerifyCode = "verifyCode";
    }

    public static class SessionName
    {
        public static final String UserSession = "userSession";
        public static final String VerifyCodeSession = "verifyCode";
        public static final String Resume = "resume";
    }

}
